package cn.wolfcode.gitflowdemo.controller;

import cn.wolfcode.gitflowdemo.domain.User;
import cn.wolfcode.gitflowdemo.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {

    @Autowired
    private IUserService userService;
    public User get(Long id){

        return userService.get(id);
    }
}
